
package com.segment.dcore.servlet.filter.context;

import com.segment.dcore.base.filter.InvokeContext;

import javax.servlet.FilterChain;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

/**
 * Servlet调用上下文
 *
 * Created by huapeng.hhp on 2017/2/27.
 */
public class ServletInvokeContext extends InvokeContext {
	private static final long serialVersionUID = 2301168371859044568L;
	private ServletRequest request;
	private ServletResponse response;
	private FilterChain chain;

	public ServletRequest getRequest() {
		return request;
	}

	public void setRequest(ServletRequest request) {
		this.request = request;
	}

	public ServletResponse getResponse() {
		return response;
	}

	public void setResponse(ServletResponse response) {
		this.response = response;
	}

	public FilterChain getChain() {
		return chain;
	}

	public void setChain(FilterChain chain) {
		this.chain = chain;
	}
}
